package com.txts.road.app.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.message.model.entity.QuickMessageEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.message.model.query.QuickMessageQuery;
import com.txts.road.app.message.model.vo.QuickMessageVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 快捷用语Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
@Mapper
public interface QuickMessageMapper extends BaseMapper<QuickMessageEntity> {

    /**
     * 获取快捷用语分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<QuickMessageVO>} 快捷用语分页列表
     */
    Page<QuickMessageVO> getQuickMessagePage(Page<QuickMessageVO> page, QuickMessageQuery queryParams);

}
